<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<style>
.pricetdClass{
	text-align: center;
	background-color: #ACCFF8;
	border-bottom: solid #EDEDED 1px;
	border-right: solid #EDEDED 1px;
}
.priceTd{
	text-align: center;
	height:30px;
	line-height:30px;
	width:80px;
	border-bottom: solid #999999 1px;
	border-right: solid #999999 1px;
}
.priceTd2{
	text-align: center;
	height:30px;
	line-height:30px;
	width:150px;
	border-bottom: solid #999999 1px;
	border-right: solid #999999 1px;
}
</style>
<script type="text/javascript" src="<%=basePath%>backgroundManager/js/ImportSpecialClientPrice.js" charset="utf-8"></script>
<div class="pageContent">
	<form method="post" action="<%=basePath%>specialPrice_addPriceForChannel.action"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this, navTabAjaxDone)">
		<!-- 第一步 -->
		<div id="pageFormContent1_SP">
		<div  class="pageFormContent" layoutH="58">
			<p>
				<label>
					渠道名称：
				</label>
				<input id="channelNum_import_SP" type="hidden" value="${requestScope.channel.channelNumber}"/>
				<input id="channelScarry_SP" type="hidden" value="${requestScope.channel.scarry}" />
				<input id="channelBcarry_SP" type="hidden" value="${requestScope.channel.bcarry}" />
				<input id="handleFare_im_SP" type="hidden" value="${requestScope.channel.handleFare}" />
				<input id="registerFare_im_SP" type="hidden" value="${requestScope.channel.registerFare}" />
				<input id="otherFare_im_SP" type="hidden" value="${requestScope.channel.otherFare}" />
				<input type="text" size="30" readonly
					value="${requestScope.channel.channelName}" />
			</p>
			<p>
				<label>
					起始分区：
				</label>
				<select id="sfenqu_SP" name="cprice.PPartitionNumber" class="combox ">
					<option value="" selected>
						请选择
					</option>
					<c:forEach items="${requestScope.partitionList}" var="partition">
						<option value="${partition.partition_number}">${partition.partition_name}</option>
					</c:forEach>
				</select>
			</p>
			<p>
				<label>
					报价风格：
				</label>
				<input type="radio" name="priceSty" value="0" checked="checked" />
				横向
				<input type="radio" name="priceSty" value="1" />
				纵向
			</p>
			<p>
				<label>
					是否含燃油：
				</label>
				<input type="radio" name="cprice.PPriceFuel" value="false" checked="checked" />
				不含
				<input type="radio" name="cprice.PPriceFuel" value="true" />
				包含
			</p>

			<p>
				<label>生效日期：</label>
				<input type="text" id="priceStartDate_SP" name="cprice.PPriceStartDate" class="date" format="yyyy年MM月dd日" yearstart="-5" yearend="5" readonly />
			</p>
			<p>
				<label>结束日期：</label>
				<input type="text" id="priceEndDate_SP" name="cprice.PPriceEndDate" class="date" format="yyyy年MM月dd日" yearstart="-5" yearend="5" readonly />
			</p>
			<p>
				<label>币种:</label>
				<select name="cprice.currencyNumber" >
				<c:forEach items="${requestScope.currencys}" var="currency">
					<option value="${currency.currencyNumber}">${currency.currencyNote}</option>
				</c:forEach>
				</select>
			</p>
			<p>
				<label>
					客户编码:<!-- 报价类别(客户类别)： -->
				</label>
				<input name="cprice.orderCustomerNumber" id="customerNum_SP" type="text" size="15" readonly="readonly"/>
				<button id="findCustomerNum_SP" type="button" >...</button>
			</p>
			<div class="divider"></div>
			<p>
				<label>
					说明：
				</label>
				<textarea cols="30" rows="5" name="cprice.PPriceNote"></textarea>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button id="theNextBtn_SP" type="button">
								下一步
							</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">
								取消
							</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
		</div>
		<!-- 第1步结束 -->
		<!-- 第2步 -->
		<div id="pageFormContent2_SP">
		<div class="pageHeader">
			<div class="searchBar">
				<div class="pageFormContent1">
					<p>
					<label width="50">渠道名称：</label>
					<input  type="text" readonly value="${requestScope.channel.channelName}" />
					</p>
					<p>
				    <label>起始分区名称：</label>
					<input id="sfenquName_SP" type="text" name="stPartition" readonly />
					</select>
					</p>
					<p>
					<label>客户编码：</label>
					<input id="clientClassName_SP" type="text" readonly />
					</p>
				</div>
				<div class="subBar">
					<ul>
						<li><div class="buttonActive"><div class="buttonContent"><button id="theBackBtn_SP" type="button">上一步</button></div></div></li>
						<li><div class="buttonActive"><div class="buttonContent"><button id="theSecondNextBtn_SP" type="button">下一步</button></div></div></li>
					</ul>
				</div>
			</div>
			</div>
			<div class="pageContent">
				<table layoutH="90">
					<tbody id="priceTab1_SP">
						<!-- 横向样式 -->
						<tr id="tdFenquses_SP" >
					 		
						</tr>
						<tr  >
							<td id="priceContext1td" colspan="13" rowspan="0" valign="top">
							      <textarea name="priceContext" rows="90" id="priceContext1_SP" cols="200" ></textarea>
						     </td>
						</tr>
					</tbody>
					<tbody id="priceTab2_SP">
						<!-- 纵向样式 -->
					</tbody>
				</table>
			</div>
		</div>
		<!-- 第2步结束 -->
		<!-- 第3步开始 -->
		<div id="pageFormContent3_SP">
			<div class="pageHeader">
			<div class="searchBar">
				※ 导入客户报价（提示：<font color="red">导入报价将删除原有报价</font>;目的分区该重量段没有价格请手动输入<font color="red">"-1"</font>）
			<div class="pageFormContent1">
				
						<input type="checkbox" id="handleFare_SP" />操作费<input id="handleFareIn_SP" name="handleFareIn" type="text" size="5" value="0" />&nbsp;&nbsp;
						<input type="checkbox" id="registerFare_SP" />挂号费<input id="registerFareIn_SP"  name="registerFareIn" type="text" size="5" value="0" />&nbsp;&nbsp;
						<input type="checkbox" id="otherFare_SP" />其他费<input id="otherFareIn_SP" name="otherFareIn" type="text" size="5" value="0" />&nbsp;&nbsp;
						<font color="red">x</font>表示票数,<font color="red">y</font>表示重量<!-- 改到这里!!!!!!!!!!!!!!!!! -->
				
				</div>
				<div class="subBar">
				<!-- 	<div style="left: 0px;top: 15px;position: relative;">
						<input type="checkbox" id="handleFare" />操作费<input id="handleFareIn" type="text" size="5" />&nbsp;&nbsp;
						<input type="checkbox" id="registerFare" />挂号费<input id="registerFareIn" type="text" size="5" />&nbsp;&nbsp;
						<input type="checkbox" id="otherFare" />其他费<input id="otherFareIn" type="text" size="5" />&nbsp;&nbsp;
						<font color="red">x</font>表示票数,<font color="red">y</font>表示重量
					</div> -->
					<ul>
						<li><div class="buttonActive"><div class="buttonContent"><button id="theSecondBackBtn_SP" type="button">上一步</button></div></div></li>
						<li><div class="buttonActive"><div class="buttonContent"><button id="savePriceBtn_SP" type="submit">&nbsp;&nbsp;&nbsp;保&nbsp;&nbsp;存&nbsp;&nbsp;&nbsp;</button></div></div></li>
					</ul>
				</div>
			</div>
			</div>
			<div class="pageContent">
				<table id="priceTable_SP" layoutH="90" cellpadding="0" cellspacing="0" style="border-left: 1px #999999 solid;border-top:1px #999999 solid;" width="1230">
					<tbody id="priceTableBody_SP">
						
					</tbody>
				</table>
			</div>
		</div>
		<!-- 第3步结束 -->
	</form>

</div>

